#include <stdio.h>

#define by(x) ((int) (x + 0.5))

int _by(double x);

int main()
{
    printf("%d\n", by(1.5));

    printf("%d\n", _by(1.5));
    return 0;
}

int _by(double x)
{
    return (int)(x + 0.5);
}
